package org.example.task.service;

import jakarta.validation.Valid;
import org.example.task.model.dto.department.CreateDeptDTO;
import org.example.task.model.dto.department.UpdateDeptDTO;
import org.example.task.model.po.Department;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-05-26
 */
public interface IDepartmentService extends IService<Department> {

    boolean addDept(CreateDeptDTO createDeptDTO);

    boolean modifyDept(UpdateDeptDTO updateDeptDTO);
}
